                ####### #######  #####  #######
                   #    #       #     #    #
                   #    #       #          #
                   #    #####    #####     #
                   #    #             #    #
                   #    #       #     #    #
                   #    #######  #####     #

CC = gcc



build_check_app: checkAll.o checkConfigurationHandler.o check_netops.o checkFunctionTracing.o checkIpcOps.o checkRtOps.o checkTimeOps.o
	gcc -o checkAll $^ $(LIB_SIMPLE_OPS) -lrt -lgcov -lcheck -lc
	
# -lrt is for mq_unlink etc.  

clean:
	-rm *.o
	-rm checkAll
	-rm *.gcda
	-rm *.gcov
	-rm *.gcno

.c.o:
	$(CC) $(CFLAGS) $(CFLAGS_GCOV) -c  $<
